package com.shj.em.biz.company.mapper;

import com.shj.em.biz.company.dto.CompanySearchDTO;
import com.shj.em.biz.company.entity.Company;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.plugins.Page;
import java.util.List;

/**
 * <p>
 * 客户信息 Mapper 接口
 * </p>
 *
 * @author Shen Huang Jian
 * @since 2018-07-05
 */
@Mapper
public interface CompanyMapper extends BaseMapper<Company> {
    /**
     * 分页查询
     * @param page 分页信息
     * @return
     */
    List<Company> queryCompanyPage(Page<Company> page, CompanySearchDTO searchDTO);

    List<Company> getCustomersBySellMan(String userId);
}
